package cn.wzptsoft.tinymallbe.repository;

import cn.wzptsoft.tinymallbe.entity.Theme;
import cn.wzptsoft.tinymallbe.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserRepository extends JpaRepository<User,Long> {


    User findFirstById(Long id);

    User findByUsername(String username);
}
